package com.situ.spring.controller;

import org.springframework.stereotype.Controller;

import com.situ.spring.service.IStudentService;

@Controller
public class StudentController {
	//private IStudentService studentService = new StudentServiceImpl();
	private IStudentService studentService;
	
	public void selectAll() {
		System.out.println("StudentController.selectAll()");
		studentService.selectAll();
	}
	
	public void setStudentService(IStudentService studentService) {
		this.studentService = studentService;
	}
}
